
str1="ertyuiopsdf234567ibjandxzesxrdvyg"
str2="e"
def str123(a,b):
    count = 0
    for i in a:
        if i == b:
            count += 1
    return count
n= str123(str1,str2)
print(n)
str3="1312adaxcdfghjklrtyuiogybnjkmzryvubniaofyob"
print(str3[0:11:-1])